-
Notifications
You must be signed in to change notification settings - Fork 22
NETOBSERV-1833: decompose TCPflags bitfield #591
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@jotak: This pull request references NETOBSERV-1833 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.18.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
New image: It will expire after two weeks. To deploy this build, run from the operator repo, assuming the operator is running: USER=netobserv VERSION=6e07bcf make set-plugin-image |
@jotak: This pull request references NETOBSERV-1833 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.18.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
New image: It will expire after two weeks. To deploy this build, run from the operator repo, assuming the operator is running: USER=netobserv VERSION=d6622c0 make set-plugin-image |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #591 +/- ##
==========================================
- Coverage 56.29% 56.27% -0.03%
==========================================
Files 190 190
Lines 9289 9296 +7
Branches 1197 1200 +3
==========================================
+ Hits 5229 5231 +2
- Misses 3691 3696 +5
Partials 369 369
Flags with carried forward coverage won't be shown. Click here to find out more.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @jotak
@jotak Filtering the flows with multiple TCP flags is not possible. For example if a flow has multiple flags like ![]() |
Hey @Amoghrd LogQL allows to do simple comparisons in line filters (https://grafana.com/docs/loki/latest/query/log_queries/#label-filter-expression) but not more complex arithmetic. For instance it returns an error when parsing this: curl -G -s -H 'X-Scope-OrgID:network' http://loki.netobserv.svc:3100/loki/api/v1/query --data-urlencode 'query={app="netobserv-flowcollector"} | json | (Flags % 16) == 0'
parse error at line 1, col 49: syntax error: unexpected %!(NOVERB) |
We could actually have the parsing step before storage and change the TCP flags field to a string array as we do for WDYT ? |
then maybe for another task, right? that would involve changes in FLP, and may have some little performance impact |
merging before cutting branches, will have to be tested post-merge |
/label qe-approved |
Description
Now it will always shows the list of TCP flags rather than a numeric value:
Dependencies
n/a
Checklist
If you are not familiar with our processes or don't know what to answer in the list below, let us know in a comment: the maintainers will take care of that.